// pages/my/my.js
Page({
  goLogin(){
   wx.navigateTo({
     url: '/pages/dengzhu/dengzhu',
   })
 },
 entermynotic(){
     wx.navigateTo({
       url: '../my/mynotic/mynotic',
     })
 },
 entermyzixun(){
     wx.navigateTo({
       url: '../my/myzixun/myzixun',
     })
 },
 
  data: {
    anotherVariable:null
  },
  goCeping(){
    wx.navigateTo({
      url: './myEvaluation/myEvaluation',
    })
  },
  goShoucang(){
    wx.navigateTo({
      url: './kechengshoucang/kechengshoucang',
    })
  },
  
  gohuida(){
    wx.navigateTo({
      url: './wodehuida/wodehuida',
    })
  },

  //��������ҳ����ת
  guanyu(){
    wx.navigateTo({
      url: '/pages/my/about/about',
    })
  },

  tc(){
    const app = getApp();
    app.globalData.anotherVariable = "";
    this.setData({
      anotherVariable:""
    })
  },

  xgmma(){
    wx.navigateTo({
      url: '/pages/my/xgmma/xgmma',
    })
  },
  gobangdsj(){
    wx.navigateTo({
      url: './bangdingshouji/bangdingshouji',
    })
  },
  onLoad(options) {
    const app = getApp();
  console.log(app.globalData.anotherVariable);
  // app.globalData.anotherVariable = "�µ�ֵ";
  this.setData({
    anotherVariable:app.globalData.anotherVariable
  })
  console.log(this.data.anotherVariable);
  },

})